package com.garlic.face.jlf.transaction.bean;

public class SaleFlow {
    private int flowid = 0;//序号
    private String barcode = "";//条码
    private String incode = "";//店内码
    private String fname = "";//商品名称
    private String specs = "";//规格
    private String unit = "";//单位
    private double unitprice = 0.00;//单价
    private double price = 0.00;//实际单价
    private double disc = 0.00;//折扣
    private double qty = 0.00;//数量
    private double amount = 0.00;//金额
    private double discAmt = 0.00;//折扣金额
    private String disctype = "";//折扣方式
    private String plutype = "";//商品类型0-普通，1-称重,2-计数，3-优惠券
    private double weight = 0.00;//商品重量
    private double expectweight = 0.00;//预期重量
    private int erpLinenmbr = 0;//erp行号
    private boolean highlight = false;
    private int count = 0; //GCHK ADD :记录当前商品的个数
    private int weightPluType = 0; //商品类型0-普通，1-称重,2-计数，3-优惠券

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public String getBarcode() {
        return barcode;
    }

    public String getPlutype() {
        return plutype;
    }

    public int getFlowid() {
        return flowid;
    }

    public double getQty() {
        return qty;
    }

    public double getAmount() {
        return amount;
    }

    public double getDisc() {
        return disc;
    }

    public double getDiscAmt() {
        return discAmt;
    }

    public double getExpectweight() {
        return expectweight;
    }

    public double getPrice() {
        return price;
    }

    public double getUnitprice() {
        return unitprice;
    }

    public double getWeight() {
        return weight;
    }

    public int getErpLinenmbr() {
        return erpLinenmbr;
    }

    public String getDisctype() {
        return disctype;
    }

    public String getFname() {
        return fname;
    }

    public String getIncode() {
        return incode;
    }

    public String getSpecs() {
        return specs;
    }

    public String getUnit() {
        return unit;
    }

    public void setFlowid(int flowid) {
        this.flowid = flowid;
    }

    public void setAmount(double amount) {
        this.amount = amount;
    }

    public void setQty(double qty) {
        this.qty = qty;
    }

    public void setBarcode(String barcode) {
        this.barcode = barcode;
    }

    public void setWeight(double weight) {
        this.weight = weight;
    }

    public void setUnitprice(double unitprice) {
        this.unitprice = unitprice;
    }

    public void setPlutype(String plutype) {
        this.plutype = plutype;
    }

    public void setDisc(double disc) {
        this.disc = disc;
    }

    public void setDiscAmt(double discAmt) {
        this.discAmt = discAmt;
    }

    public void setDisctype(String disctype) {
        this.disctype = disctype;
    }

    public void setErpLinenmbr(int erpLinenmbr) {
        this.erpLinenmbr = erpLinenmbr;
    }

    public void setExpectweight(double expectweight) {
        this.expectweight = expectweight;
    }

    public void setFname(String fname) {
        this.fname = fname;
    }

    public void setIncode(String incode) {
        this.incode = incode;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public void setSpecs(String specs) {
        this.specs = specs;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public boolean isHighlight() {
        return highlight;
    }

    public void setHighlight(boolean highlight) {
        this.highlight = highlight;
    }


    public int getWeightPluType() {
        return weightPluType;
    }

    public void setWeightPluType(int weightPluType) {
        this.weightPluType = weightPluType;
    }

    @Override
    public String toString() {
        return "SaleFlow{" +
                "flowid=" + flowid +
                ", barcode='" + barcode + '\'' +
                ", incode='" + incode + '\'' +
                ", fname='" + fname + '\'' +
                ", specs='" + specs + '\'' +
                ", unit='" + unit + '\'' +
                ", unitprice=" + unitprice +
                ", price=" + price +
                ", disc=" + disc +
                ", qty=" + qty +
                ", amount=" + amount +
                ", discAmt=" + discAmt +
                ", disctype='" + disctype + '\'' +
                ", plutype='" + plutype + '\'' +
                ", weight=" + weight +
                ", count=" + count +
                ", expectweight=" + expectweight +
                ", erpLinenmbr=" + erpLinenmbr +
                ", weightPluType=" + weightPluType +
                '}';
    }
}
